package com.example.shiwu.db.model;


import com.example.shiwu.db.annotation.DbFiled;
import com.example.shiwu.db.annotation.DbPrimaryKey;
import com.example.shiwu.db.annotation.DbTable;

@DbTable("tb_sends")
public class Sends {
    //    是不是 变量名
    @DbPrimaryKey(value = "id", isAuto = true)
    @DbFiled("id")
    public Integer id;

    @DbFiled("item_id")
    public Integer itemId;
    @DbFiled("uid")
    public String uid;
    @DbFiled("voltage")
    public String voltage;
    @DbFiled("electricity")
    private String electricity;
    @DbFiled("pole_pitch")
    private String polePitch;//极距
    @DbFiled("repeat_num")
    private String repeatNum;//重复次数
    @DbFiled("send_frequency")
    private String sendFrequency;//发射频率
    @DbFiled("filter_frequency")
    private String filterFrequency;//频率滤波
    @DbFiled("send_duration")
    private String sendDuration;//发射时长
    @DbFiled("send_local")
    private String sendLocal;//发射电极位置

    @DbFiled("error_point")
    private String errorPoint;//报错时的电极位置，0表示没有错误、无需继续采集，其他表示有错误、其值为出错的abmn组合index.可以继续采集
    @DbFiled("error_point_line")
    private Integer errorPointLine;//报错时的电极位置，0表示没有错误、无需继续采集，其他表示有错误、其值为出错的abmn组合index.可以继续采集
//    @DbFiled("boxaddr")
//    private String boxaddr;//10个switchbox的地址
    @DbFiled("sn")
    private String sn;//设备ID
    @DbFiled("operator")
    private String operator;//操作人
    @DbFiled("type")
    private Integer type;//0发射接收1采集数据
    @DbFiled("status")
    private Integer status;//1删除0未删除
    @DbFiled("create_time")
    private String createTime;
    @DbFiled("update_time")
    private String updateTime;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getItemId() {
        return itemId;
    }

    public void setItemId(Integer itemId) {
        this.itemId = itemId;
    }

    public String getUid() {
        return uid;
    }

    public void setUid(String uid) {
        this.uid = uid;
    }

    public String getVoltage() {
        return voltage;
    }

    public void setVoltage(String voltage) {
        this.voltage = voltage;
    }

    public String getElectricity() {
        return electricity;
    }

    public void setElectricity(String electricity) {
        this.electricity = electricity;
    }

    public String getPolePitch() {
        return polePitch;
    }

    public void setPolePitch(String polePitch) {
        this.polePitch = polePitch;
    }

    public String getRepeatNum() {
        return repeatNum;
    }

    public void setRepeatNum(String repeatNum) {
        this.repeatNum = repeatNum;
    }

    public String getSendFrequency() {
        return sendFrequency;
    }

    public void setSendFrequency(String sendFrequency) {
        this.sendFrequency = sendFrequency;
    }

    public String getFilterFrequency() {
        return filterFrequency;
    }

    public void setFilterFrequency(String filterFrequency) {
        this.filterFrequency = filterFrequency;
    }

    public String getSendDuration() {
        return sendDuration;
    }

    public void setSendDuration(String sendDuration) {
        this.sendDuration = sendDuration;
    }

    public String getSendLocal() {
        return sendLocal;
    }

    public void setSendLocal(String sendLocal) {
        this.sendLocal = sendLocal;
    }

    public String getErrorPoint() {
        return errorPoint;
    }

    public void setErrorPoint(String errorPoint) {
        this.errorPoint = errorPoint;
    }

    public Integer getErrorPointLine() {
        return errorPointLine;
    }

    public void setErrorPointLine(Integer errorPointLine) {
        this.errorPointLine = errorPointLine;
    }

    public String getSn() {
        return sn;
    }

    public void setSn(String sn) {
        this.sn = sn;
    }

    public String getOperator() {
        return operator;
    }

    public void setOperator(String operator) {
        this.operator = operator;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }

    public Sends() {
    }

    public Sends(Integer itemId) {
        this.itemId = itemId;
    }
    public Sends(Integer itemId,Integer id) {
        this.itemId = itemId;
        this.id = id;
    }

}
